<!DOCTYPE HTML>
<html style="overflow-y:hidden;">
<style>
    .menu_dropdown dl dd {
    }
</style>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <LINK rel="Bookmark" href="/favicon.ico">
    <LINK rel="Shortcut Icon" href="/favicon.ico"/>
    <!--[if lt IE 9]>
    <script type="text/javascript" src="/js/html5.js"></script>
    <script type="text/javascript" src="/js/respond.min.js"></script>
    <script type="text/javascript" src="/js/PIE_IE678.js"></script>
    <![endif]-->
    <link href="/css/H-ui.css" rel="stylesheet" type="text/css"/>
    <link href="/css/H-ui.admin.css" rel="stylesheet" type="text/css"/>
    <link type="/text/css" rel="stylesheet" href="font/font-awesome.min.css"/>
    <!--[if IE 7]>
    <link href="/font/font-awesome-ie7.min.css" rel="stylesheet" type="text/css"/>
    <![endif]-->
    <!--[if IE 6]>
    <script type="text/javascript" src="/js/DD_belatedPNG_0.0.8a-min.js"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>伯乐识车后台管理系统</title>
    <meta name="keywords" content="企业后台管理系统,企业后台模板,cms后台管理系统,cms网站管理系统,cms后台模板,cms管理系统模板"/>
    <meta name="description" content="实用的cms企业后台管理模板html下载。"/>
</head>

<body style="overflow:hidden">
<header class="Hui-header cl"><a class="Hui-logo l" title="H-ui.admin v2.1" href="/">H-ui.admin</a> <a
        class="Hui-logo-m l" href="/" title="H-ui.admin">H-ui</a> <span class="Hui-subtitle l">V2.1</span> <span
        class="Hui-userbox"><span class="c-white">超级管理员：admin</span> <a class="btn btn-danger radius ml-10"
                                                                        href="javascript:;" title="退出"><i
        class="icon-off"></i> 退出</a></span> <a aria-hidden="false" class="Hui-nav-toggle" id="nav-toggle"
                                               href="javascript:;"></a></header>
<div class="cl Hui-main">
    <aside class="Hui-aside" style="">
        <input runat="server" id="divScrollValue" type="hidden" value=""/>
        <div class="menu_dropdown bk_2" id="menu_info">
            <dl id="menu-user">
                <dt><i class="icon-user"></i>用户中心<b></b></dt>
                <dd>
                    <ul>
                        <li><a _href="user-list.html" href="javascript:;">用户管理</a></li>
                        <li><a _href="user-list-del.html" href="javascript:;">删除的用户</a></li>
                        <li><a _href="user-list-black.html" href="javascript:;">黑名单</a></li>
                        <li><a _href="record-browse.html" href="javascript:void(0)">浏览记录</a></li>
                        <li><a _href="record-download.html" href="javascript:void(0)">下载记录</a></li>
                        <li><a _href="record-share.html" href="javascript:void(0)">分享记录</a></li>
                    </ul>
                </dd>
            </dl>
        </div>
    </aside>
    <div class="dislpayArrow"><a class="pngfix" href="javascript:void(0);"></a></div>
    <section class="Hui-article">
        <div id="Hui-tabNav" class="Hui-tabNav">
            <div class="Hui-tabNav-wp">
                <ul id="min_title_list" class="acrossTab cl">
                    <li class="active"><span title="我的桌面" data-href="welcome.html">我的桌面</span><em></em></li>
                </ul>
            </div>
            <div class="Hui-tabNav-more btn-group"><a id="js-tabNav-prev" class="btn radius btn-default btn-small"
                                                      href="javascript:;"><i class="icon-step-backward"></i></a><a
                    id="js-tabNav-next" class="btn radius btn-default btn-small" href="javascript:;"><i
                    class="icon-step-forward"></i></a></div>
        </div>
        <div id="iframe_box" class="Hui-articlebox">
            <div class="show_iframe">
                <div style="display:none" class="loading"></div>
                <iframe scrolling="yes" id="page_src" frameborder="0" src="/welcome"></iframe>
            </div>
        </div>
    </section>
</div>
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/Validform_v5.3.2_min.js"></script>
<script type="text/javascript" src="/layer/layer.min.js"></script>
<script type="text/javascript" src="/js/H-ui.js"></script>
<script type="text/javascript" src="/js/H-ui.admin.js"></script>

</body>
<script>

    $(function () {
        getMenu();
    })

    function getMenu() {
        $.ajax({
            url: "/menu",
            dataType: "json",
            type: "get",
            async: false,
            success: function (result) {
                // console.log(result);
                var data = result.data;
                var content = '';
                for (var i = 0; i < data.length; i++) {
                    content += '<dl id="menu-user">';
                    content += '<dt><i class="icon-user"></i>' + data[i].text + '<b></b></dt>';
                    var nodes = data[i].nodes;
                    // console.log(nodes);
                    content += '<dd><ul>';
                    for (var j = 0; j < nodes.length; j++) {
                        content += '<li><a href="javascript:changePage(\''+nodes[j].url+'\')">' + nodes[j].text + '</a></li>';
                    }
                    // _href="' + nodes[j].url + '"   \""+nodes[j].url+"\"   \''+nodes[j].url+'\'
                    content += '</ul></dd>';
                    content += '</dl>';
                }
                // console.log(content);
                // test();
                $("#menu_info").html(content);
                // $("#menu_info").html(content);
            },
            error: function (e) {
                console.log(e);
                // toastr.error("请联系管理员");
            }
        })
    }

    function changePage(url) {
        // alert(1);
        $('#page_src').attr('src',url);
    }

</script>
</html>